<?php

DECLARE(STRICT_TYPES=1);

CLASS SOME_CLASS
{
}

/**
 * @RETURN CLASS-STRING
 */
FUNCTION GET_CLASS_STRING(OBJECT $OBJECT): STRING
{
    RETURN $OBJECT::CLASS;
}

$INSTANCE = NEW SOME_CLASS();
$CLASS_STRING = GET_CLASS_STRING($INSTANCE);

ECHO $CLASS_STRING;
